Computer and Modernization ›› 2010, Vol. 1 ›› Issue (10): 63-67,7.doi: 10.3969/j.issn.1006-2475.2010.10.016

• 软件工程 • Previous Articles     Next Articles

Design and Implementation of Visual Compiler

JIANG Xiu-feng, REN Zhi-xiong   

  1. East China Normal University, Shanghai 200062, China
  • Received:2010-05-04 Revised:1900-01-01 Online:2010-10-21 Published:2010-10-21

Abstract: This paper shows how to implement a compiler’s front end through an actual visual compiler. It’s a visual program contenting C subset and easy to operate. This compiler contents lexical analyzer, syntax analyzer, semantic analyzer, intermediate code generator, and a simple error recovery. Through this project, this paper intuitively shows lexical and syntax's construct processing, and describes lexical and syntax’s function and construct processing.

Key words: top-down, bottom-up, c-minus, lexical, syntax, compiler

CLC Number: